package com.ccb.sc.common.modules.order.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ccb.sc.common.entity.BaseEntity;
import com.ccb.sc.common.modules.order.enums.OrderLogType;
import com.ccb.sc.common.modules.payment.enums.OrderType;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 订单日志表
 * </p>
 *
 * @author ken
 * @since 2020-09-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tb_order_log")
public class OrderLog extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 订单id
     */
    @TableField("order_id")
    private String orderId;

    /**
     * 订单类型
     */
    @TableField("order_type")
    private OrderType orderType;

    /**
     * 订单操作类型
     */
    @TableField("type")
    private OrderLogType type;

    /**
     * 备注
     */
    @TableField("memo")
    private String memo;


}
